<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title>
LOGIN
</title>
</head>
<body bgcolor="#ffffff">

<form action="/Game-war/loginservlet" method="post">
    <h2><c:if test="${userName != LoginError}">
        <c:out value="Login Failed"/>
    </c:if></h2>
<h2>Registration</h2>
<table border="0">
  <tr>
    <td>Enter username:</td>
    <td>
      <input type="text" name="userName"/>
    </td>
  </tr>
  <tr>
    <td>Enter password:</td>
    <td>
      <input type="password" name="password"/>
    </td>
  </tr>
  <tr>
    <td>
       <input type="submit" value="OK"/>
    </td>
    <td><a href="register.jsp">Register</a> </td>
  </tr>
    <tr>
    <td><a href="forgetpass.jsp?" >Forget Password</a></td></tr>
</table>
</form>
    <a href = "newrobot.jsp" >Create Robot </a>
    <a href = "http://localhost:8080/Game-war/robotcreation?robotname=lesha&robottype=3">Test Persistence</a>
    <c:import url = "adminservise.jsp"/>

</body>
</html>

    
    </body>
</html>
